package top.eggcode.system.client.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Title:
 * Description: TODO
 * Date: 2021/5/27 21:49
 *
 * @author JiaQi Ding
 * @version 1.0
 */
@Data
public class ExceptionLog implements Serializable {

    /**
     * 保证序列化兼容性
     */
    private static final long serialVersionUID = 1L;

    /**
     * 唯一标识
     */
    private String id;

    @ApiModelProperty("异常的java类型")
    private String exceptionClass;

    @ApiModelProperty("消息")
    private String message;

    @ApiModelProperty("堆栈")
    private String stackTrace;

    @ApiModelProperty("发生位置")
    private String location;

    @ApiModelProperty("行号")
    private Integer lineNumber;

}
